package com.flitsneak.designpatterns.behavioralpatterns.visitor.concretevisitor;

import com.flitsneak.designpatterns.behavioralpatterns.visitor.Beauty;
import com.flitsneak.designpatterns.behavioralpatterns.visitor.LickDog;

/**
 * @author flitsneak
 * @email flitsneak@gmail.com
 * @date 2022/7/20 13:44
 * @description 舔狗飞飞
 */
public class LickDogFeiFei implements LickDog {
    private static final String FEATURE = "特点拜金";
    @Override
    public void visit(Beauty beauty) {
        if (beauty.getFeature().equals(FEATURE)){
            System.out.println("舔狗飞飞准备舔-"+beauty.getName()+"-:穷狗，舔不动拜金女。");
        }else {
            System.out.println("舔狗飞飞准备舔-"+beauty.getName()+"-:" + beauty.getFeature());
        }
    }
}
